﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for TAMoreDetailHsbc
/// </summary>
/// 
namespace CE.TravelInsurance
{
    public class TAMoreDetailHsbc
    {
        public TAMoreDetailHsbc()
        {
            //
            // TODO: Add constructor logic here
            //

            ClearFields();
        }

        private Int64 _cetamoredetailid;
        private Int64 _cetainsid;
        private Int64 _cetaid;
        private Int64 _providercompanyid;
        private string _name;
        private string _postalcode;
        private string _unitno;
        private string _homeno;
        private string _address;
        private string _nricno;
        private string _nationality;
        private string _mobileno;
        private string _homehoneno;
        private string _officephoneno;
        private string _faxno;
        private string _empname;
        private string _planname;
        private string _plantype;
        private string _triptype;
        private string _coveragelevel;
        private string _country;
        private string _area;
        private string _duration;
        private DateTime _startdate;
        private DateTime _enddate;
        private Int32 _childage;
        private Int32 _adultage;
        private Int32 _nooftraveller;
        private float _totalpremium;      
        private string _pamenttype;
        private string _bankname;
        private string _chequeno;
        private string _nameofthecard;
        private string _issuingbankname;
        private string _creditcardno;
        private string _cardexpirymonth;
        private string _cardexpiryyear;
        private string _cardtype;

        //common field name
        private Int64 _refceuserid;
        private string _rowguid;
        private Int64 _vieweddetailid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;
        private string _info1;
        private string _info2;
        private string _info3; //For Gender - Sakthi on 23/Nov/2010

        public Int64 cetaMoreDetailId
        {
            get { return _cetamoredetailid; }
            set { _cetamoredetailid = value; }
        }

        public Int64 cetaInsId
        {
            get { return _cetainsid; }
            set { _cetainsid = value; }
        }

        public Int64 cetaId
        {
            get { return _cetaid; }
            set { _cetaid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyid; }
            set { _providercompanyid = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string PostalCode
        {
            get { return _postalcode; }
            set { _postalcode = value; }
        }

        public string UnitNo
        {
            get { return _unitno; }
            set { _unitno = value; }
        }

        public string HomeNo
        {
            get { return _homeno; }
            set { _homeno = value; }
        }

        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        public string NRICNo
        {
            get { return _nricno; }
            set { _nricno = value; }
        }

        public string Nationality
        {
            get { return _nationality; }
            set { _nationality = value; }
        }

        public string MobileNo
        {
            get { return _mobileno; }
            set { _mobileno = value; }
        }

        public string HomePhoneNo
        {
            get { return _homehoneno; }
            set { _homehoneno = value; }
        }

        public string OfficePhoneNo
        {
            get { return _officephoneno; }
            set { _officephoneno = value; }
        }

        public string FaxNo
        {
            get { return _faxno; }
            set { _faxno = value; }
        }

        public string EmpName
        {
            get { return _empname; }
            set { _empname = value; }
        }

        public string PlanName
        {
            get { return _planname; }
            set { _planname = value; }
        }

        public string PlanType
        {
            get { return _plantype; }
            set { _plantype = value; }
        }

        public string TripType
        {
            get { return _triptype; }
            set { _triptype = value; }
        }


        public string CoverageLevel
        {
            get { return _coveragelevel; }
            set { _coveragelevel = value; }
        }

        public string Country
        {
            get { return _country; }
            set { _country = value; }
        }

        public string Area
        {
            get { return _area; }
            set { _area = value; }
        }

        public string Duration
        {
            get { return _duration; }
            set { _duration = value; }
        }

        public DateTime StartDate
        {
            get { return _startdate; }
            set { _startdate = value; }
        }

        public DateTime EndDate
        {
            get { return _enddate; }
            set { _enddate = value; }
        }

        public Int32 ChildAge
        {
            get { return _childage; }
            set { _childage = value; }
        }

        public Int32 AdultAge
        {
            get { return _adultage; }
            set { _adultage = value; }
        }

        public Int32 NoOfTraveller
        {
            get { return _childage; }
            set { _childage = value; }
        }

        public float TotalPremium
        {
            get { return _totalpremium; }
            set { _totalpremium = value; }
        }

        public string PamentType
        {
            get { return _pamenttype; }
            set { _pamenttype = value; }
        }

        public string BankName
        {
            get { return _bankname; }
            set { _bankname = value; }
        }

        public string ChequeNo
        {
            get { return _chequeno; }
            set { _chequeno = value; }
        }

        public string NameoftheCard
        {
            get { return _nameofthecard; }
            set { _nameofthecard = value; }
        }

        public string IssuingBankName
        {
            get { return _issuingbankname; }
            set { _issuingbankname = value; }
        }

        public string CreditCardNo
        {
            get { return _creditcardno; }
            set { _creditcardno = value; }
        }

        public string CardExpiryMonth
        {
            get { return _cardexpirymonth; }
            set { _cardexpirymonth = value; }
        }

        public string CardExpiryYear
        {
            get { return _cardexpiryyear; }
            set { _cardexpiryyear = value; }
        }

        public string CardType
        {
            get { return _cardtype; }
            set { _cardtype = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public string RowGUID
        {
            get { return _rowguid; }
            set { _rowguid = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }
        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3 //For Gender - Sakthi on 23/Nov/2010
        {
            get { return _info3; }
            set { _info3 = value; }
        }


        public void ClearFields()
        {
            _cetamoredetailid = 0;
            _cetainsid = 0;
            _cetaid = 0;
            _providercompanyid = 0;
            _name = "";
            _postalcode = "";
            _unitno = "";
            _homeno = "";
            _address = "";
            _nricno = "";
            _nationality = "";
            _mobileno = "";
            _homehoneno = "";
            _officephoneno = "";
            _faxno = "";
            _empname = "";
            _planname = "";
            _plantype = "";
            _triptype = "";
            _coveragelevel = "";
            _country = "";
            _area = "";
            _duration = "";
            _startdate = CE.Global.General.GetUTCDateTime();
            _enddate = CE.Global.General.GetUTCDateTime();
            _childage = 0;
            _adultage = 0;
            _nooftraveller = 0;
            _totalpremium = 0;
            _pamenttype = "";
            _bankname = "";
            _chequeno = "";
            _nameofthecard = "";
            _issuingbankname = "";
            _creditcardno = "";
            _cardexpirymonth = "";
            _cardexpiryyear = "";
            _cardtype = "";

            //common field name
            _refceuserid = 0;
            _rowguid = "";
            _vieweddetailid = 0;
            _status = false;
            _createddate = new DateTime(1900, 1, 1);
            _modifieddate = new DateTime(1900, 1, 1);
            _info1 = "";
            _info2 = "";
            _info3 = "";
        }
    }
}
